package com.project.quiktask.util;

public class Variable {
	public static final String APP_NAME = "QuikTask";
	public static final String FIELD_SEPARATOR = "|";
	public static final String NEW_LINE = "\n";
	public static final String NULL = "null";
	public static final String STORAGE_FILE_NAME = "tasks.txt";
	
	// General feedback
	public static final String FEEDBACK_COMMAND_INVALID = "Invalid command. Please try again.";
	public static final String MANY_TASKS_WITH_SAME_KEYWORD="There are more than one task with the same keyword!";
	public static final String CANNOT_UNDO_SEARCH_COMMAND="Cannot undo your previous search command";
	public static final String CANNOT_UNDO_VIEW_COMMAND="Cannot undo your previous view command";
	public static final String FEEDBACK_UNDO_DELETE="Added back deleted task: ";
	public static final String DELETE_TASK_SUCCEEDED="Task deleted successfully";
	public static final String NO_TASK_FOUND="there is no task that contains the keyword:";
	// Feedback from loading files
	public static final String FEEDBACK_ERROR_GENERAL = "Error! Please try again.";
	public static final String FEEDBACK_ERROR_FILE_NOT_FOUND = "File not found. Please try again.";
	public static final String FEEDBACK_SUCCESS_FILE_LOADED = "File loaded";
	
	// Comparator variables
	public static final int FIRST_TASK_MORE_URGENT = -1;
	public static final int SECOND_TASK_MORE_URGENT = 1;
	public static final int EQUAL_URGENCY = 0;
	
	public static final int FIRST_TASK_MORE_IMPORTANCE = -1;
	public static final int SECOND_TASK_MORE_IMPORTANCE = 1;
	public static final int EQUAL_IMPORTANCE = 0;
	
	public static final String NO_DESCRIPTION_TASK="Task does not contain a description";
	public static final String FEEDBACK_ADD_SUCCESSFUL="Task added successfully";
	// UpdateHandler Feedback
	public static final String FEEDBACK_UPDATE_SUCCESSFUL = "Task updated successfully!";
	
	// UndoHandler Feedback
	public static final String FEEDBACK_UNDO_SUCESSFUL = "Undo successfull!";
	
	// SearchHandler Feedback
	public static final String FEEDBACK_MANY_TASKS_WITH_SAME_KEYWORD = "There are more than one task with the same keyword!";
	public static final String FEEDBACK_NO_MATCHING_RESULTS = "Your search does not match any tasks!";
}
